import request from '@/utils/request';

export const generateDatas = (num: number): Promise<any> => {
  return request.post('/examplePage/StandardPage/generateDatas', { num });
};

export const getDatas = (queryData: any): Promise<any> => {
  return request.post('/examplePage/StandardPage/query', queryData);
};

export const deleteData = (id: number): Promise<any> => {
  return request.post('/examplePage/StandardPage/delete', { id });
};

export const modifyData = (data: any): Promise<any> => {
  return request.post('/examplePage/StandardPage/modify', data);
};
